package com.aash.persistence.generic;

import java.io.Serializable;
import java.util.List;

public interface GenericDao<T, PK extends Serializable> {

	T create(T newInstance);

    T find(PK id);

    List<T> findAll();

    T update(T transientObject);

    void delete(T persistentObject);
}
